import request from '@/router/axios';
// 经理视图
export default {
    // 待办-首页-访客/客户数据
    getCustomerData(params) {
        return request({
            url: '/cp/employee-data-panel/index',
            method: 'get',
            params: params
        });
    },
    // 待办-首页-客户雷达-top3
    getContactRadarTop3(params) {
        return request({
            url: '/cp/contact-radar/top3',
            method: 'get',
            params: params
        });
    },
    // 客户雷达-头部数据
    getContactRadarHead(params) {
        return request({
            url: '/cp/contact-radar/head',
            method: 'get',
            params: params
        });
    },
    // 客户雷达-分页
    getContactRadarPage(params) {
        return request({
            url: '/cp/contact-radar/page',
            method: 'get',
            params: params
        });
    },
    // 数据看板-营销数据-数据总览
    getMarketingData(params) {
        return request({
            url: '/cp/employee-data-panel/marketing-data',
            method: 'get',
            params: params
        });
    },
    // 数据看板-营销数据-产品偏好
    getMarketingProdLike(params) {
        return request({
            url: '/cp/employee-data-panel/marketing-prod-like',
            method: 'get',
            params: params
        });
    },
    // 数据看板-客户数据-客户总数
    getContactData(params) {
        return request({
            url: '/cp/employee-data-panel/contact-data',
            method: 'get',
            params: params
        });
    },
    // 数据看板-客户数据-客户简报
    getContactBriefing(params) {
        return request({
            url: '/cp/employee-data-panel/contact-briefing',
            method: 'get',
            params: params
        });
    },
    // 数据看板-客户数据-趋势图
    getTendency(params) {
        return request({
            url: '/cp/employee-data-panel/tendency',
            method: 'get',
            params: params
        });
    },
    // 根据wxUserId分页查询我的客户列表
    getMyCustomerList(params, wxUserId) {
        return request({
            url: `/cp/managerview-customer-wechat/contact-page/${wxUserId}`,
            method: 'get',
            params: params
        });
    },
    // 根据wxUserId分页查询潜在客户列表
    getDisCustomerList(params, wxUserId) {
        return request({
            url: `/cp/add-customer-wechat/distributed-cust-page/${wxUserId}`,
            method: 'get',
            params: params
        });
    },
    // 根据wxUserId查询管户资产总额
    getMyAssetsInfo(params) {
        return request({
            url: `/cp/mgr-cust/assets`,
            method: 'get',
            params: params
        });
    },
    // 营销事件提醒概览
    getOverview(params) {
        return request({
            url: `/cp/employee-marketing-event-remind/overview`,
            method: 'get',
            params: params
        });
    },
    // 获取生日提醒列表
    getBirthdayRemindPage(params) {
        return request({
            url: `/cp/employee-marketing-event-remind/birthday-remind-page`,
            method: 'get',
            params: params
        });
    },
    // 获取活期余额列表
    getCurrentBalancePage(params) {
        return request({
            url: `/cp/employee-marketing-event-remind/current-balance-page`,
            method: 'get',
            params: params
        });
    },
    // 获取未交流客户列表
    getNoCommunicationPage(params) {
        return request({
            url: `/cp/employee-marketing-event-remind/no-communication-page`,
            method: 'get',
            params: params
        });
    },
    // 获取产品到期列表
    getProductExpirePage(params) {
        return request({
            url: `/cp/employee-marketing-event-remind/product-expire-page`,
            method: 'get',
            params: params
        });
    },
    // 获取营销线索列表
    getMarketingCluePage(params) {
        return request({
            url: `/cp/employee-marketing-event-remind/marketing-clue-page`,
            method: 'get',
            params: params
        });
    },
    // 获取营销线索详情列表
    getMarketingClueDetailsPage(params) {
        return request({
            url: `/cp/employee-marketing-event-remind/marketing-clue-details-page`,
            method: 'get',
            params: params
        });
    },
    // 查询待办列表-两条数据
    getTodoListTwo(params) {
        return request({
            url: `/cp/employeedo/list-two`,
            method: 'get',
            params: params
        });
    },
    // 红包分页
    getRedPacketList(params) {
        return request({
            url: `/cp/redpack/page`,
            method: 'get',
            params: params
        });
    },
    // 红包信息
    getRedPacketInfo(params) {
        return request({
            url: `/cp/redpack/page-total`,
            method: 'get',
            params: params
        });
    },
    // 红包明细
    getRedPacketDetail(params) {
        return request({
            url: `/cp/redpack/page-mon`,
            method: 'get',
            params: params
        });
    },
    // 红包提现
    cashRedPacketAmount(params) {
        return request({
            url: `/cp/redpack/cashout-redpack`,
            method: 'post',
            params
        });
    },
    // 是否满足红包提现
    checkRedPacket(params) {
        return request({
            url: `/cp/redpack/check-min`,
            method: 'get',
            params
        });
    }
};
